package com.hjy.product.dao;

import com.hjy.product.entity.ProductAttrValueEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hjy.product.vo.item.SkuItemVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu属性值
 * 
 * @author hjy
 * @email 2402668109@qq.com
 * @date 2022-07-20 12:06:52
 */
@Mapper
public interface ProductAttrValueDao extends BaseMapper<ProductAttrValueEntity> {

    List<SkuItemVo.SpuItemBaseAttrGroup> findByCatalogIdAndSpuId(@Param("catalogId") Long catalogId, @Param("spuId") Long spuId);
}
